package test;

import java.io.Serializable;

public class Student implements Serializable {
    private String name;
    private int age;
    private double match;
    private double english;
    private double c;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", match=" + match +
                ", english=" + english +
                ", c=" + c +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getMatch() {
        return match;
    }

    public void setMatch(double match) {
        this.match = match;
    }

    public double getEnglish() {
        return english;
    }

    public void setEnglish(double english) {
        this.english = english;
    }

    public double getC() {
        return c;
    }

    public void setC(double c) {
        this.c = c;
    }

    public Student(String name, int age, double match, double english, double c) {
        this.name = name;
        this.age = age;
        this.match = match;
        this.english = english;
        this.c = c;
    }
}
